<?php

/** 
* 
* 
* by:南宁火蝶科技有限公司 http:///www.HdsysCms.com
* 声明:本系统禁止用二次开发、侵犯HdsysCms著作和除去HdsysCms进行售卖,如发现将追究一切权利,模版制作属于自己所得可以通过本系统对外开发模版获取收益!
* 
* 2019年第一版本发布 - 到2023.9.1开源使用! 
* php混淆工具:phpencry.wbox.top
* 
* 注意防骗:@HdsysCms 官方没授权任何个人机构合作,唯一收款抬头:《南宁火蝶科技有限公司》和官网显示客服唯一渠道客服,其它渠道以HdsysCms名义行为均骗子!
*
*/
	

defined('HDSYS_SET') or die("" . 'Not,This File Not Can in Ie Open');
function config($param_file, $param_name)
{
return bs_lib::get_configs_value($param_file, $param_name);
}
function call_my_get_templates_info($param_id)
{
$param_file=HDSYS_DIR_SYS . "templates/{$param_id}/statics/templates.josn";
if (file_exists($param_file)) {
$param_data=file_get_contents($param_file);
$param_josn_array=json_decode($param_data, 1);
} else {
$param_josn_array=array('name'=> '', 'info'=> '', 'by'=> '', 'imges'=> '');
}
return $param_josn_array;
}
function intelligence_get_templates_dir()
{
if (get_session_value('DIV_MEIN')==1 and get_session_value('DIV_TEMPLATE') !='') {
return get_session_value('DIV_TEMPLATE');
}
$param_template=set_get('template');
$intelligence_templates_dir=bs_lib::get_configs_value("" . 'template', "" . 'current');
if ($intelligence_templates_dir=='') {
$intelligence_templates_dir="" . 'default';
}
if ($param_template !='') {
$intelligence_templates_dir=$param_template;
}
$param_domain=$_SERVER['HTTP_HOST'];
$intelligence_db=bs_lib::load_libhdsys_class('db');
$param_sql="SELECT * FROM `hdsys_domain` WHERE `domain`='{$param_domain}' ";
$param_array=$intelligence_db->intelligence_cache_array($param_sql);
if ($param_array) {
$intelligence_templates_dir=$param_array['template'];
}
$param_template=set_get('lang');
if ($param_template=='zh') {
$intelligence_templates_dir=bs_lib::get_configs_value("" . 'template', "" . 'current');
} elseif ($param_template=='en') {
$intelligence_templates_dir=bs_lib::get_configs_value("" . 'template', "" . 'current_en');
}
$intelligence_templates_dir=safe_replace_file($intelligence_templates_dir);
return  $intelligence_templates_dir;
}
function intelligence_get_current_templates()
{
return  '';
}
function D_Get_Exhibition_Mysql_Array($param_name, $param_arr_json)
{
return templates::intelligence_GetExhibitionMysqlArray($param_name, $param_arr_json);
}
function D_Get_GetExQuery_Mysql_Array($param_name, $param_arr_json)
{
return templates::intelligence_GetExQueryMysqlArray($param_name, $param_arr_json);
}
function D_Get_Column_Mysql_Array($param_name, $param_arr_json)
{
return templates::intelligence_GetColumnMysqlArray($param_name, $param_arr_json);
}
function D_Get_Content_Mysql_Array($param_name, $param_arr_json)
{
return templates::intelligence_GetContentMysqlArray($param_name, $param_arr_json);
}
function D_Get_Get_Content_Page_Mysql_Array($param_name, $param_arr_json)
{
return templates::intelligence_GetContentPageMysqlArray($param_name, $param_arr_json);
}
function GetImgesUrl($param_strdata)
{
if (stripos($param_strdata, './upfiles/attached/')==false) {
return $param_strdata;
}
$param_strdata=call_my_str_replace('../upfiles/', getsysurl() . 'upfiles/', $param_strdata);
return $param_strdata;
}
function to($param_v, $lang='')
{
$intelligence_db=bs_lib::load_libhdsys_class('db');
$param_getsysurl=getsysurl();
$param_lang=set_get('lang');
if (isset($param_v['template']) and $param_v['template']=='jmp') {
if (empty($param_v['eurl'])=='' or empty($param_v['url'])=='' or empty($param_v['eurl'])=='/' or empty($param_v['url'])=='/') {
$param_lang=set_get('lang');
if ($param_lang !='') {
$param_current=bs_lib::get_configs_value("" . 'template', "" . 'current');
$param_current_en=bs_lib::get_configs_value("" . 'template', "" . 'current_en');
$param_sql="SELECT * FROM `hdsys_domain` WHERE  `template`='{$param_current}' ";
$param_current=$intelligence_db->intelligence_cache_array($param_sql);
$param_sql="SELECT * FROM `hdsys_domain` WHERE  `template`='{$param_current_en}' ";
$param_current_en=$intelligence_db->intelligence_cache_array($param_sql);
if (isset($param_current['domain']) and  $param_lang=='zh') {
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current['domain'], getsysurl());
return $param_getsysurl;
} elseif (isset($param_current_en['domain']) and  $param_lang=='en') {
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current_en['domain'], getsysurl());
return $param_getsysurl;
} else {
return getsysurl() . '?lang=' . $param_lang;
}
}
}
if ($param_lang=='en') {
return  $param_v['eurl'];
} else {
return  $param_v['url'];
}
}
$param_lang=set_get('lang');
if ($param_lang=='zh' or $param_lang=='en') {
$param_current=bs_lib::get_configs_value("" . 'template', "" . 'current');
$param_current_en=bs_lib::get_configs_value("" . 'template', "" . 'current_en');
$param_sql="SELECT * FROM `hdsys_domain` WHERE  `template`='{$param_current}' ";
$param_current=$intelligence_db->intelligence_cache_array($param_sql);
$param_sql="SELECT * FROM `hdsys_domain` WHERE  `template`='{$param_current_en}' ";
$param_current_en=$intelligence_db->intelligence_cache_array($param_sql);
if (isset($param_current['domain']) and  $param_lang=='zh') {
$param_lang='';
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current['domain'], getsysurl());
} elseif (isset($param_current_en['domain']) and  $param_lang=='en') {
$param_lang='';
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current_en['domain'], getsysurl());
} else {
$param_lang='?lang=' . $param_lang;
}
}
if (bs_lib::get_configs_value('seo', 'switch')==1) {
return $param_getsysurl  .  $param_v['static_url'] . '.html' . $param_lang;
} else {
return $param_getsysurl . 'index.php/' .  $param_v['static_url'] . '.html' . $param_lang;
}
}
function navactive($param_v, $url_name='', $active='active')
{
if (isset($param_v['template']) and $param_v['template']=='jmp') {
if ($url_name=='index') {
if ($param_v['url']=='/' or $param_v['url']=='/en' or $param_v['url']==getsysurl() or $param_v['url']==getsysurl() . '/en') {
return $active;
}
}
} else {
if ($param_v['pid']==0) {
$sql="SELECT * FROM `hdsys_list` WHERE `static_url`='{$url_name}'";
$array=plug_query_assoc($sql);
if (!$array) {
$sql="SELECT * FROM `hdsys_content` WHERE `static_url`='{$url_name}'";
$array=plug_query_assoc($sql);
if (!$array) {
return '';	
}
$arr=explode(',', $array['pid']);
$pid=$arr[count($arr) - 1];
$array['pid']=$pid;
}
if ($array and $array['pid'] > 0) {
$sql="SELECT * FROM `hdsys_list` WHERE `id`='{$array['pid']}'; ";
$array=plug_query_assoc($sql);
if ($array and $array['static_url']==$param_v['static_url']) {
return $active;
}
}
if ($array and $array['pid'] > 0) {
$sql="SELECT * FROM `hdsys_list` WHERE `id`='{$array['pid']}'";
$array=plug_query_assoc($sql);
if ($array and $array['static_url']==$param_v['static_url']) {
return $active;
}
}
if ($array and $array['pid'] > 0) {
$sql="SELECT * FROM `hdsys_list` WHERE `id`='{$array['pid']}'";
$array=plug_query_assoc($sql);
if ($array and $array['static_url']==$param_v['static_url']) {
return $active;
}
}
}
if ($param_v['pid'] > 0) {
$sql="SELECT * FROM `hdsys_content` WHERE `static_url`='{$url_name}'";
$array=plug_query_assoc($sql);
$arr=explode(',', $array['pid']);
$pid=$arr[count($arr) - 1];
$array['pid']=$pid;
if ($array and $array['pid'] > 0) {
$sql="SELECT * FROM `hdsys_list` WHERE `id`='{$array['pid']}'; ";
$array=plug_query_assoc($sql);
if ($array and $array['static_url']==$param_v['static_url']) {
return $active;
}
}
if ($array and $array['pid'] > 0) {
$sql="SELECT * FROM `hdsys_list` WHERE `id`='{$array['pid']}'";
$array=plug_query_assoc($sql);
if ($array and $array['static_url']==$param_v['static_url']) {
return $active;
}
}
if ($array and $array['pid'] > 0) {
$sql="SELECT * FROM `hdsys_list` WHERE `id`='{$array['pid']}'";
$array=plug_query_assoc($sql);
if ($array and $array['static_url']==$param_v['static_url']) {
return $active;
}
}
}
return $param_v['static_url']==$url_name ? $active : '';
}
}
function jmp($static_url='',  $QUERY_STRING_ARRAY=array(),  $QUERY_STRING_ARRAY2=array())
{
$param_domain=$_SERVER['HTTP_HOST'];
$param_getsysurl=getsysurl();
$intelligence_db=bs_lib::load_libhdsys_class('db');
$param_current=bs_lib::get_configs_value("" . 'template', "" . 'current');
$param_current_en=bs_lib::get_configs_value("" . 'template', "" . 'current_en');
$param_sql="SELECT * FROM `hdsys_domain` WHERE  `template`='{$param_current}' ";
$param_current=$intelligence_db->intelligence_cache_array($param_sql);
$param_sql="SELECT * FROM `hdsys_domain` WHERE  `template`='{$param_current_en}' ";
$param_current_en=$intelligence_db->intelligence_cache_array($param_sql);
if ($static_url=='zh' or $static_url=='en') {
if (isset($param_current['domain'])  and $static_url=='zh') {
$static_url='';
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current['domain'], getsysurl());
} elseif (isset($param_current_en['domain']) and  $static_url=='en') {
$static_url='';
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current_en['domain'], getsysurl());
} else {
$QUERY_STRING_ARRAY2['lang']=$static_url;
$static_url='';
}
} else {
if (isset($param_current['domain'])  and $_SERVER['HTTP_HOST']==$param_current['domain']) {
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current['domain'], getsysurl());
} elseif (isset($param_current_en['domain']) and  isset($param_current_en['domain']) and  $_SERVER['HTTP_HOST']==$param_current_en['domain']) {
$param_getsysurl=str_replace($_SERVER['HTTP_HOST'], $param_current_en['domain'], getsysurl());
} else {
$param_lang=set_get('lang');
$QUERY_STRING_ARRAY2['lang']=$param_lang;
}
}
$param_static_url=call_my_trim($static_url);
$param_arrars=GetNameAndLang();
if ($param_static_url=='') {
$param_static_url=$param_arrars['name'];
}
if (stripos($param_arrars['name'], '--') > 0) {
$param_array_url=call_my_explode('--', $param_arrars['name']);
$param_static_url=$param_array_url[0];
}
if (is_array($QUERY_STRING_ARRAY) and count($QUERY_STRING_ARRAY) !=0) {
$param_QUERY_TMP='-';
foreach ($QUERY_STRING_ARRAY as $param_key=> $param_v) {
if ($param_key=='page' and $param_v <=1) {
continue;
}
$param_QUERY_TMP .="-{$param_key}-{$param_v}";
}
if ($param_QUERY_TMP=='-') $param_QUERY_TMP='';
$param_static_url .=$param_QUERY_TMP;
}
$param_QUERY_STRING='';
if (is_array($QUERY_STRING_ARRAY2) and count($QUERY_STRING_ARRAY2) !=0) {
foreach ($QUERY_STRING_ARRAY2 as $param_key=> $param_v) {
if ($param_v=='') {
continue;
}
if ($param_QUERY_STRING=='') {
$param_QUERY_STRING .='?';
} else {
$param_QUERY_STRING .='&';
}
if ($param_key=='page' and $param_v <=1) {
continue;
}
$param_QUERY_STRING .="{$param_key}={$param_v}";
}
}
if (bs_lib::get_configs_value('seo', 'switch')==1) {
$param_tmp=$param_getsysurl .  $param_static_url  . '.html' . $param_QUERY_STRING;
$param_tmp=call_my_str_replace('/index.html', '', $param_tmp);
return $param_tmp;
} else {
$param_tmp=$param_getsysurl . 'index.php/' .  $param_static_url  . '.html' . $param_QUERY_STRING;
$param_tmp=call_my_str_replace('index.php/index.html', '', $param_tmp);
$param_tmp=call_my_str_replace('/index.html', '', $param_tmp);
return $param_tmp;
}
}
function GetNameAndLang($param_PATH_INFO='')
{
if ($param_PATH_INFO=='') {
$__SERVER__=call_my_SERVER();
$param_PATH_INFO=isset($__SERVER__["" . 'PATH_INFO']) ? $__SERVER__["" . 'PATH_INFO'] : '';
if ($param_PATH_INFO=='') {
$param_PATH_INFO=isset($__SERVER__["" . 'REQUEST_URI']) ? $__SERVER__["" . 'REQUEST_URI'] : '';
}
$param_PATH_INFO=call_my_str_replace('\\', '/', $param_PATH_INFO);
}
if ($param_PATH_INFO=='/') {
return array('templates'=> 'index', 'name'=> 'index');
}
$param__AppPathArr=explode('/', $param_PATH_INFO);
$param_filename=$param__AppPathArr[count($param__AppPathArr) - 1];
if (stripos($param_filename, '.' . "" . 'html') > 0) {
$param_filename=substr($param_filename, 0, strpos($param_filename, "" . '.html'));
} elseif (stripos($param_filename, '.' . "" . 'json') > 0) {
$param_filename=substr($param_filename, 0, strpos($param_filename, "" . '.json'));
} elseif (stripos($param_filename, '.' . "" . 'php') > 0) {
$param_filename=substr($param_filename, 0, strpos($param_filename, "" . '.php'));
} else if (substr($param_filename, 0, 1)=='?') {
$param_filename="" . 'index';
}
$param_filename=call_my_str_replace('.html', '', $param_filename);
$param_filename=call_my_str_replace('.php', '', $param_filename);
$param_filename=call_my_str_replace('.json', '', $param_filename);
preg_match_all('/(-([a-zA-Z0-9_]+)\-([a-zA-Z0-9_]+))/i', $param_PATH_INFO, $param_res);
if (isset($param_res[3]) and count($param_res[3]) !=0) {
foreach ($param_res[3] as $param_key=> $param_cc) {
$_GET[$param_res[2][$param_key]]=$param_cc;
}
if (stripos($param_filename, '--') > 0) {
$param_array_url=call_my_explode('--', $param_filename);
$param_filename=$param_array_url[0];
}
}
if (set_get('page')=='' or set_get('page')==0) {
$_GET['page']=1;
}
if ($param_filename=='') {
return array('templates'=>  'index', 'name'=> 'index');
} else {
return array('templates'=> '', 'name'=> $param_filename);
}
}
function templates_Verifications($param_Verification)
{
$__SERVER__=call_my_SERVER();
$param_Bsphp_Host=null;
$param_Bsphp_Key=null;
$param_Bsphp_Key_MD5=null;
$param_key_dir__=call_my_str_replace($__SERVER__['DOCUMENT_ROOT'], '', HDSYS_DIR_SYS);
$param_key_dir__=
$__SERVER__[call_my_base64_decode("SFRUUF9IT1NU")]
. $param_key_dir__;
$param_key_dir__=call_my_urlencode($param_key_dir__);
if (!file_exists(HDSYS_DIR_SYS . call_my_base64_decode("" . "RGF0YS8=") . $__SERVER__[call_my_base64_decode("" . "SFRUUF9IT1NU")] . call_my_base64_decode("" . "LnBocA=="))) {
return '';
if (!file_exists(HDSYS_DIR_SYS . call_my_base64_decode("" . "RGF0YS8=") . $__SERVER__[call_my_base64_decode("" . "SFRUUF9IT1NU")] . call_my_base64_decode("" . "LnBocA=="))) {
return '';
}
}
$param_key_code_txt=call_my_include(HDSYS_DIR_SYS . call_my_base64_decode("" . "RGF0YS8=") . $__SERVER__[call_my_base64_decode("" . "SFRUUF9IT1NU")] . call_my_base64_decode("" . "LnBocA=="));
$param_pieces=call_my_explode("|", $param_key_code_txt);
$param_count=call_my_count($param_pieces);
if ($param_count < 3) {
return '';
}
$param_Bsphp_Host=$param_pieces[2];
$param_Bsphp_Key=$param_pieces[0];;
$param_Bsphp_Key_MD5=$param_pieces[1];;
$param_Key_MD5=call_my_md5(call_my_base64_decode("" . "OGZjYTMwZWYwYWUxYjhlODA4ZThmY2EzMGVmMGFlMWI4ZTgwOGUg") . call_my_strtolower($param_Bsphp_Host) . $param_Bsphp_Key . call_my_base64_decode("" . "MDUzMmFmOWMyN2NkOWFjYzk4NTMz"));
if ($param_Bsphp_Key_MD5 !=$param_Key_MD5) {
return '';;
}
if (call_my_strtolower($__SERVER__[call_my_base64_decode("" . "SFRUUF9IT1NU")]) !=$param_Bsphp_Host and $param_Verification=='host_appen') {
return '';
}
if (call_my_strtolower($__SERVER__[call_my_base64_decode("" . "SFRUUF9IT1NU")]) !=$param_Bsphp_Host) {
bs_lib::Alerts(call_my_base64_decode("" . "5Z+f6K6k6K+B5ZCN5LiN56ymQjYwMDM="), call_my_base64_decode("" . "5b2T5YmN5Z+f5ZCN5LiO5L2g6K6k6K+B5Z+f5ZCN5LiN56ym5ZCI44CC"), 1);
}
$param_mystring=Bsphp_decrypt($param_Bsphp_Key, call_my_md5(call_my_strtolower($__SERVER__[call_my_base64_decode("" . "SFRUUF9IT1NU")]) . call_my_base64_decode("" . "ODMxNmJkZmUwMDhjNDE0YWYwNTliNGJkNDA5NzI3NjY=") . $param_Bsphp_Host));
$param_pos=call_my_strstr($param_mystring, call_my_base64_decode("" . "T0t8"));
if ($param_pos==false) {
bs_lib::Alerts(call_my_base64_decode("" . "6K6k6K+B5aSx6LSlQjYwMDQ="), call_my_base64_decode("" . "5peg5rOV6YCa6L+H6K6k6K+BLEtleeWvhumSpeS4jeato+ehruOAguivt+WwneivlemHjeaWsOeZu+W9leeuoeeQhuWQjuWPsOino+WGs+atpOmXrumimO+8gQ=="), 1);
}
$param_pieces=call_my_explode(call_my_base64_decode("" . "fA=="), $param_mystring);
if ($param_Verification==call_my_base64_decode("" . "UGF5bWVudA==")) {
return $param_pieces[3];
}
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
if ($param_Verification==call_my_base64_decode("" . "UXVhbnRpdHk=")) {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return $param_pieces[5];
} elseif ($param_Verification==call_my_base64_decode("" . "UHJveHk=")) {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return $param_pieces[2];
} elseif ($param_Verification==call_my_base64_decode("" . "UGF5bWVudA==")) {
return $param_pieces[3];
} elseif ($param_Verification==call_my_base64_decode("" . "UGx1Zw==")) {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return $param_pieces[1];
} elseif ($param_Verification==call_my_base64_decode("" . "QmF0Y2g=")) {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return $param_pieces[4];
} elseif ($param_Verification==call_my_base64_decode("" . "VW5pdmVyc2Fs")) {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return $param_pieces[10];
} elseif ($param_Verification==call_my_base64_decode("" . "cG9zdA==")) {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return $param_pieces[11];
} elseif ($param_Verification==call_my_base64_decode("" . "Z2V0")) {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return $param_pieces[12];
} else {
if (call_my_time() > $param_pieces[9]) {
return call_my_int_0();
}
return call_my_base64_decode("" . "b2s=");
}
}
function templates_Verifications_db()
{
return 'db';
}
function call_my_Template_name($param_name='')
{
$array=array(
'content.download.hdsys.php'=> array('title'=> '{$data.name} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'content.download.hdsys.php', 'name'=> '详情下载页面'),
'content.news.hdsys.php'=> array('title'=> '{$data.name} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'content.news.hdsys.php', 'name'=> '详情新闻页面'),
'content.picture.hdsys.php'=> array('title'=> '{$data.name} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'content.picture.hdsys.php', 'name'=> '详情相册页面'),
'content.product.hdsys.php'=> array('title'=> '{$data.name} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'content.product.hdsys.php', 'name'=> '详情产品页面'),
'index.hdsys.php'=> array('title'=> '{$config.setup.seotitle}', 'keywords'=> '{$config.setup.seokeywords}', 'description'=> '{$config.setup.seodescription}', 'file'=> 'index.hdsys.php', 'name'=> '首页'),
'list.download.hdsys.php'=> array('title'=> '{$data.seotitle} - {$config.setup.name}', 'keywords'=> '{$data.seokeywords}', 'description'=> '{$data.seodescription}', 'file'=> 'list.download.hdsys.php', 'name'=> '栏目列表下载页面'),
'list.news.hdsys.php'=> array('title'=> '{$data.seotitle} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'list.news.hdsys.php', 'name'=> '栏目列表新闻页面'),
'list.page.hdsys.php'=> array('title'=> '{$data.seotitle} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'list.page.hdsys.php', 'name'=> '栏目列表单页'),
'list.picture.hdsys.php'=> array('title'=> '{$data.seotitle} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'list.picture.hdsys.php', 'name'=> '栏目列表相册页面'),
'list.product.hdsys.php'=> array('title'=> '{$data.seotitle} - {$config.setup.name}', 'keywords'=> '{$data.name},{$data.seokeywords}', 'description'=> '{$data.name},{$data.seodescription}', 'file'=> 'list.product.hdsys.php', 'name'=> '栏目列表产品页面'),
'search.hdsys.php'=> array('title'=> '{$get.search}-{$config.setup.name}', 'keywords'=> '{$config.setup.seokeywords}', 'description'=> '{$config.setup.seodescription}', 'file'=> 'search.hdsys.php', 'name'=> '检索内容页面'),
'tags.hdsys.php'=> array('title'=> '{$v.name} - Tag标签 - {$config.setup.name}', 'keywords'=> '{$v.name},{$config.setup.seokeywords}', 'description'=> '{$config.setup.seodescription}', 'file'=> 'tags.hdsys.php', 'name'=> 'TAGS标签检索页面'),
'tagsall.hdsys.php'=> array('title'=> 'Tag标签 - {$config.setup.name}', 'keywords'=> '{$config.setup.seokeywords}', 'description'=> '{$config.setup.seodescription}', 'file'=> 'tagsall.hdsys.php', 'name'=> '所有TAGS标签页面'),
);
if ($param_name !='') {
if (isset($array[$param_name])) {
return $array[$param_name]['name'];
} else {
return '自定义模版';
}
}
return $array;
}
